package com.missilike.domain.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.missilike.domain.response.MilJournalInfo;
import com.missilike.repository.entity.MilJournal;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MilJournalInfoMapper {
    MilJournalInfoMapper MAPPER = Mappers.getMapper(MilJournalInfoMapper.class);

    Page<MilJournalInfo> pageConvert(IPage<MilJournal> page);
}
